﻿{% extends "base.html" %}
{% block LeftContent %}
	<!-- Powered by PBDigg -->
	<div class="pb_mainbox_show" id="tid_1226">
		<div class="pb_box_l_show">
			<a href="/search/" target="_blank"><h1>Custom Search</h1></a>
			</div>
		<script src="http://www.google.com/jsapi"></script>
		<script type="text/javascript">
    /*
     * This sample shows how to create a Custom Search Control.  By default, it
     * will allow you to add a search box to your page that searches your site.
     * Optionally, you can give it a CSE ID (http://www.google.com/coop/cse/) to
     * have it search sites you specify
    */
    
    google.load('search', '1'); 
    function OnLoad() {
      // Create a custom search control that uses a CSE restricted to code.google.com
      var customSearchControl = new google.search.CustomSearchControl('005967764072739635752:ubnhlbsvpi8');
		customSearchControl.addSearcher(new google.search.WebSearch());
      // Draw the control in content div
      customSearchControl.draw('thiscontent');
      
      // run a query
      customSearchControl.execute('{{ search_content}}');
    }
    google.setOnLoadCallback(OnLoad);
    </script>
	<div class="pb_box_lrad2_show" id="thiscontent">Loading...</div>
		<!--topimg区域 开始-->
		<div class="clear"></div>

		</div>
<!--左侧内容结束-->
{% endblock %}